package lab02.test05;
import java.util.Scanner;
public class Test05 {
    public static void main(String[] args) {
       Scanner sc = new Scanner(System.in);
       Cubic c = new Cubic();
       System.out.println("请依次输入立方体长，宽，高");
       float heigth = sc.nextFloat();
       float width = sc.nextFloat();
        float longth = sc.nextFloat();
        c.setLongth(longth);
        c.setWidth(width);
        c.setHeight(heigth);
        c.Volume();
    }



}
